gtk4.git
22 years ago2003-12-14 Updated ja.po. T.Aihana <aihana@gnome.gr.jp>
Updated ja.po. T.Aihana [Sun, 14 Dec 2003 08:42:38 +0000 (08:42 +0000)]
2003-12-14 Updated ja.po. T.Aihana <aihana@gnome.gr.jp>

22 years agoCalls to OpenClipboard() must be followed by calls to CloseClipboard().
Tor Lillqvist [Sun, 14 Dec 2003 02:20:14 +0000 (02:20 +0000)]
Calls to OpenClipboard() must be followed by calls to CloseClipboard().

2003-12-14  Tor Lillqvist  <tml@iki.fi>

* gdk/win32/gdkselection-win32.c: Calls to OpenClipboard() must be
followed by calls to CloseClipboard(). Add a missing call to
CloseClipboard(). Found by Adam Wright, fixes #104944. Use
API_CALL macro in more places.

22 years agoMerge from stable:
Tor Lillqvist [Sun, 14 Dec 2003 01:57:54 +0000 (01:57 +0000)]
Merge from stable:

2003-12-14  Tor Lillqvist  <tml@iki.fi>

Merge from stable:

* gdk/gdkdisplaymanager.c: Mark default_display static.

* gdk/win32/gdkdnd-win32.c: Mark current_dest_drag static.

* gdk/win32/gdkkeys-win32.c: Disable some overly verbose debugging
output.

* gdk/win32/gdkevents-win32.c: Clean up the debugging output from
--gdk-debug=events. In general, output just one line of debugging
output for each Windows message, plus one line for each GDK event
generated. Indent all lines according to window procedure nesting
level.

(inner_window_procedure): Rename from real_window_procedure.

(find_real_window_for_grabbed_mouse_event): Don't get misled when
the point is in the non-client (decoration) area of the window
returned by WindowFromPoint(). Return the root window in that
case.

(build_pointer_event_state): Test also MK_XBUTTON1 and
MK_XBUTTON2 (buttons 4 and 5).

(synthesize_enter_event): Track the mouse leaving the window in
the event being generated, not the one mentioned in the Windows
message.

(propagate): Test for NULL parent earlier. Improves event
generation from a grabbed pointer. Part of fix for #107320.

(handle_stuff_while_moving_or_resizing): New function, to
dispatch the main loop (once).

(resize_timer_proc): New function, set to be called by an inerval
timer during resizes/moves. Calls handle_stuff_while_moving_or_resizing().

(gdk_event_translate): Drop unused return_exposes parameter.

Handle WM_XBUTTONDOWN and UP messages (buttons 4 and 5).

On WM_SYSKEYUP, generate a key release event also for just the Alt
key.

On WM_MOUSELEAVE, generate a leave event of type
GDK_NOTIFY_ANCESTOR (and not UNKNOWN) if the mouse left a
top-level window, and left the app completely.

On WM_ENTERSIZEMOVE, set a flag, and start an interval timer that
calls resize_timer_proc() at regular intervals. On
WM_EXITSIZEMOVE, kill the timer.

On WM_WINDOWPOSCHANGED, generate a configure event if necessary,
and dispatch the main loop (by calling
handle_stuff_while_moving_or_resizing()). Fixes #99540, idea by
Herman Bloggs.

* gdk/win32/gdkmain-win32.c (_gdk_win32_message_to_string): Handle
also wintab messages.

* gdk/win32/gdkwindow-win32.c (gdk_window_set_skip_taskbar_hint):
Instead of using WS_EX_TOOLWINDOW, implement by setting/unsetting
the window's owner. Fixes #118093, reported by Maxime Romano.

22 years agoImplement gdk_window_set_icon_list() for Win32, with support for big and
Tim Evans [Sun, 14 Dec 2003 01:06:56 +0000 (01:06 +0000)]
Implement gdk_window_set_icon_list() for Win32, with support for big and

Tue Dec  8 09:41:00 2003  Tim Evans  <t.evans@aranz.com>

* gdk/win32/gdkwindow-win32.[ch]: Implement
gdk_window_set_icon_list() for Win32, with support for big and
small icons and support for alpha-channel icons under Windows
XP. Replaces the previous implementation of gdk_window_set_icon().
(#128762)

22 years agoRename from _gdk_x11_register_event_type(), added API docs.
Matthias Clasen [Sun, 14 Dec 2003 00:28:57 +0000 (00:28 +0000)]
Rename from _gdk_x11_register_event_type(), added API docs.

Sun Dec 14 01:28:23 2003  Matthias Clasen  <maclas@gmx.de>

* gdk/x11/gdkprivate-x11.h:
* gdk/x11/gdkx.h:
* gdk/x11/gdkevents-x11.c (gdk_x11_register_standard_event_type):
Rename from _gdk_x11_register_event_type(), added API docs.
* gdk/x11/gdkinput-x11.c (_gdk_input_common_init):
* gdk/x11/gdkimage-x11.c (_gdk_windowing_image_init): Adjust
all callers.  (#121471, Bill Haneman)

22 years agoDocument that the clip mask of gc is ignored. (#101983, Sebastian Rittau)
Matthias Clasen [Sat, 13 Dec 2003 22:45:25 +0000 (22:45 +0000)]
Document that the clip mask of gc is ignored. (#101983, Sebastian Rittau)

Sat Dec 13 23:37:50 2003  Matthias Clasen  <maclas@gmx.de>

* gdk/gdkdraw.c (gdk_draw_pixbuf): Document that the clip mask
of gc is ignored.  (#101983, Sebastian Rittau)

22 years agoAdd stock_dialog_authentication_48.png. (#129255, Olivier Andrieu)
Matthias Clasen [Sat, 13 Dec 2003 21:37:32 +0000 (21:37 +0000)]
Add stock_dialog_authentication_48.png. (#129255, Olivier Andrieu)

Sat Dec 13 22:37:46 2003  Matthias Clasen  <maclas@gmx.de>

* gtk/Makefile.am (HTML_IMAGES): Add
stock_dialog_authentication_48.png.  (#129255, Olivier Andrieu)

22 years agoA trick for a faster treeview, step 1. Patch to short circuit
Kristian Rietveld [Sat, 13 Dec 2003 15:20:28 +0000 (15:20 +0000)]
A trick for a faster treeview, step 1. Patch to short circuit

Sat Dec 13 16:13:27 2003  Kristian Rietveld  <kris@gtk.org>

A trick for a faster treeview, step 1. Patch to short circuit
_build_tree(), inspired by Jonathan (#80868).

* gtk/gtktreeview.c (gtk_tree_view_init): don't put _IS_LIST in
flags by default,
(gtk_tree_view_build_tree): don't even try to recurse when the
model says that it is a list, remove flag unsetter,
(gtk_tree_view_set_model): change flag setting logic.

* gtk/gtktreemodelsort.c (gtk_tree_model_sort_get_flags):
propagate whether or not the child model has _IS_LIST set.

* gtk/gtktreemodelfilter.c (gtk_tree_model_filter_get_flags):
ditto.

22 years agoUpdated Swedish translation.
Christian Rose [Sat, 13 Dec 2003 13:19:25 +0000 (13:19 +0000)]
Updated Swedish translation.

2003-12-13  Christian Rose  <menthos@menthos.com>

* sv.po: Updated Swedish translation.

22 years agoUpdated Spanish translation
Francisco Javier F. Serrador [Sat, 13 Dec 2003 11:26:22 +0000 (11:26 +0000)]
Updated Spanish translation

2003-12-13  Francisco Javier F. Serrador  <serrador@cvs.gnome.org>

* es.po: Updated Spanish translation

22 years agoUndo the last change, since it broke logical keynav. Fix stepper direction
Matthias Clasen [Sat, 13 Dec 2003 01:33:17 +0000 (01:33 +0000)]
Undo the last change, since it broke logical keynav. Fix stepper direction

Sat Dec 13 02:33:17 2003  Matthias Clasen  <maclas@gmx.de>

* gtk/gtkrange.c (gtk_range_scroll): Undo the last change,
since it broke logical keynav.
* gtk/gtkrange.c (range_get_scroll_for_grab): Fix stepper
direction in inverted scrollbars here instead.

22 years agoImplement "gravity" for RTL mode in a better way: Keep the distance from
Matthias Clasen [Fri, 12 Dec 2003 23:40:58 +0000 (23:40 +0000)]
Implement "gravity" for RTL mode in a better way: Keep the distance from

Sat Dec 13 00:39:24 2003  Matthias Clasen  <maclas@gmx.de>

* gtk/gtkviewport.c (viewport_set_hadjustment_values): Implement
"gravity" for RTL mode in a better way: Keep the distance from
the upper end of the page to the upper bound constant. This also
fixes problems with the initial position of the viewport in RTL
mode.  (#129063)

22 years agoCombo box flipping support.
Kristian Rietveld [Fri, 12 Dec 2003 20:08:58 +0000 (20:08 +0000)]
Combo box flipping support.

Fri Dec 12 21:00:12 2003  Kristian Rietveld  <kris@gtk.org>

Combo box flipping support.

* gtk/gtkcombobox.c (gtk_combo_box_menu_position),
(gtk_combo_box_size_allocate): support RTL flipping (#126518,
patch from Matthias Clasen),
(gtk_combo_box_popup): fix popup window alignment if there's a
cell view frame visible (#126518, patch from Semion Chichelnitsky).

* gtk/gtkcellview.c (gtk_cell_view_expose): support RTL flipping
(#128348, patch from Semion Chichelnitsky).

22 years agoUpdate Czech translation
Miloslav Trmac [Fri, 12 Dec 2003 17:16:33 +0000 (17:16 +0000)]
Update Czech translation

22 years agoRemove deprecated functions in examples. (#129074, Olexiy Avramchenko)
Matthias Clasen [Fri, 12 Dec 2003 00:16:14 +0000 (00:16 +0000)]
Remove deprecated functions in examples. (#129074, Olexiy Avramchenko)

Fri Dec 12 01:13:34 2003  Matthias Clasen  <maclas@gmx.de>

* examples/gtkdial/gtkdial.c:
* examples/menu/menu.c:
* examples/scribble-xinput/scribble-xinput.c:
* examples/progressbar/progressbar.c:
* docs/tutorial/gtk-tut.sgml: Remove deprecated functions
in examples. (#129074, Olexiy Avramchenko)
* examples/calendar/Makefile:
* examples/rangewidgets/Makefile:
* examples/menu/Makefile: Allow deprecated functions in
examples which use deprecated widgets.

22 years agoDocumentation updates.
Matthias Clasen [Thu, 11 Dec 2003 23:52:59 +0000 (23:52 +0000)]
Documentation updates.

22 years agoFix direction of steppers in inverted scrollbars. (#129084, Olexiy
Matthias Clasen [Thu, 11 Dec 2003 23:05:25 +0000 (23:05 +0000)]
Fix direction of steppers in inverted scrollbars. (#129084, Olexiy

Fri Dec 12 00:05:31 2003  Matthias Clasen  <maclas@gmx.de>

* gtk/gtkrange.c (gtk_range_scroll): Fix direction of
steppers in inverted scrollbars.  (#129084, Olexiy Avramchenko)

22 years agoDon't unnecessarily reserve space for arrows in RTL mode. (#129075, Semion
Matthias Clasen [Thu, 11 Dec 2003 22:50:09 +0000 (22:50 +0000)]
Don't unnecessarily reserve space for arrows in RTL mode. (#129075, Semion

Thu Dec 11 23:50:30 2003  Matthias Clasen  <maclas@gmx.de>

* gtk/gtknotebook.c (gtk_notebook_pages_allocate): Don't
unnecessarily reserve space for arrows in RTL mode.  (#129075,
Semion Chichelnitsky)

22 years agoUpdated Spanish translation
Francisco F. Serrador [Thu, 11 Dec 2003 22:32:00 +0000 (22:32 +0000)]
Updated Spanish translation

2003-12-11  Francisco F. Serrador  <serrador@cvs.gnome.org>

* es.po: Updated Spanish translation

22 years agoUpdated Serbian translation.
Danilo Šegan [Thu, 11 Dec 2003 17:18:43 +0000 (17:18 +0000)]
Updated Serbian translation.

2003-12-11  Danilo Šegan  <dsegan@gmx.net>

* sr.po, sr@Latn.po: Updated Serbian translation.

22 years agoMove the documentation for signals inline, to get proper parameter
Matthias Clasen [Thu, 11 Dec 2003 00:57:20 +0000 (00:57 +0000)]
Move the documentation for signals inline, to get proper parameter

Thu Dec 11 01:57:05 2003  Matthias Clasen  <maclas@gmx.de>

* gdk-pixbuf-loader.c (gdk_pixbuf_loader_class_init): Move
the documentation for signals inline, to get proper parameter
documentation.  (#128977)

22 years agoChanges to allow "no input" windows (#64613):
Matthias Clasen [Wed, 10 Dec 2003 23:58:23 +0000 (23:58 +0000)]
Changes to allow "no input" windows (#64613):

Thu Dec 11 00:35:12 2003  Matthias Clasen  <maclas@gmx.de>

Changes to allow "no input" windows (#64613):

* gdk/gdkwindow.h (struct _GdkWindowObject): Add a new boolean
field accept_focus.

* gdk/gdkwindow.h (gdk_window_set_accept_focus): New function to
set it.

* gtk/gtkwindow.[hc]: Add a boolean property "accept_focus"
and gtk_window_get_focus() and gtk_window_set_focus().

* gdk/win32/gdkwindow-win32.c (gdk_window_new):
* gdk/linux-fb/gdkwindow-fb.c (gdk_window_new):
* gdk/x11/gdkwindow-x11.c (gdk_window_set_new):
Initialize the accept_focus field to TRUE.

* gdk/win32/gdkwindow-win32.c (gdk_window_set_accept_focus):
* gdk/linux-fb/gdkwindow-fb.c (gdk_window_set_accept_focus):
* gdk/x11/gdkwindow-x11.c (gdk_window_set_accept_focus):
Implementations for the various backends. The Win32 and linux-fb
implementations set the accept_focus field, but don't use it yet
to actually implement noinput windows. The X implementation updates
the WM_HINTS to select the globally active input model (see the
ICCCM) if accept_focus is FALSE.

* gdk/x11/gdkevents-x11.c (gdk_wm_protocols_filter): Ignore the
WM_TAKE_FOCUS message if accept_focus is FALSE.

22 years agoAdded toolbar items for the filter separator and the filter item.
Federico Mena Quintero [Wed, 10 Dec 2003 20:49:44 +0000 (20:49 +0000)]
Added toolbar items for the filter separator and the filter item.

2003-12-10  Federico Mena Quintero  <federico@ximian.com>

* gtk/gtkfilechooserdefault.c (struct _GtkFileChooserDefault):
Added toolbar items for the filter separator and the filter item.
(toolbar_create): Add the filter widgets here.
(filter_create): Renamed from create_filter().  Don't store the
alignment in the impl structure, just return it.
(toolbar_show_filters): New function.
(gtk_file_chooser_default_add_filter): Use toolbar_show_filters().
(gtk_file_chooser_default_remove_filter): Likewise.
(gtk_file_chooser_default_constructor): Don't create the filter
widget here.
(struct _GtkFileChooserDefault): Added a field for a current
folder label.
(gtk_file_chooser_default_constructor): Create the folder label.
(gtk_file_chooser_default_set_current_folder): Set the current
folder label.

* tests/testfilechooser.c (main): Dramatically improved the
usability of the extra widget through careful word choice.

22 years agoinclude gdkspawn.h.
Mark McLoughlin [Wed, 10 Dec 2003 17:04:58 +0000 (17:04 +0000)]
include gdkspawn.h.

2003-12-10  Mark McLoughlin  <mark@skynet.ie>

        * gdk/gdk.h: include gdkspawn.h.

22 years agos/gdk_spawn/gdk_spawn_on_screen/.
Mark McLoughlin [Wed, 10 Dec 2003 14:17:07 +0000 (14:17 +0000)]
s/gdk_spawn/gdk_spawn_on_screen/.

2003-12-10  Mark McLoughlin  <mark@skynet.ie>

        * gdk/linux-fb/gdkspawn-fb.c,
          gdk/win32/gdkspawn-win32.c,
          gdk/x11/gdkspawn-x11.c: (gdk_spawn_command_line_on_screen):
        s/gdk_spawn/gdk_spawn_on_screen/.

22 years agoUtility functions for multi-screen applications which need to ensure
Mark McLoughlin [Wed, 10 Dec 2003 13:49:58 +0000 (13:49 +0000)]
Utility functions for multi-screen applications which need to ensure

2003-12-10  Mark McLoughlin  <mark@skynet.ie>

        Utility functions for multi-screen applications which need
        to ensure launched applications appear on a certain screen.
        See bug #95897.

        * gdk/gdkspawn.h: header for multi-screen launching
        support.

        * gdk/Makefile.am: install gdkspawn.h.

        * gdk/x11/Makefile.am:
        * gdk/x11/gdkspawn-x11.c:
        (gdk_spawn_make_environment_for_screen): private function
        to create an environment vector with DISPLAY set appropriately
        for the screen.
        (gdk_spawn_on_screen): multi-screen version of g_spawn_async().
        (gdk_spawn_on_screen_with_pipes): version of g_spawn_async_with_pipes().
        (gdk_spawn_command_line_on_screen): version of g_spawn_command_line_async().

        * gdk/linux-fb/Makefile.am,
          gdk/linux-fb/gdkspawn-fb.c: linux-fb impl.

        * gdk/win32/Makefile.am,
          gdk/win32/gdkspawn-win32.c: win32 impl.

22 years agoru.po: Updated Russian translation from Russian team <gnome-cyr@gnome.org>.
Dmitry Mastrukov [Wed, 10 Dec 2003 03:57:15 +0000 (03:57 +0000)]
ru.po: Updated Russian translation from Russian team <gnome-cyr@gnome.org>.

22 years agoUse "Home" rather than "Username's Home" (#125964).
Federico Mena Quintero [Wed, 10 Dec 2003 03:46:30 +0000 (03:46 +0000)]
Use "Home" rather than "Username's Home" (#125964).

2003-12-09  Federico Mena Quintero  <federico@ximian.com>

* gtk/gtkfilechooserdefault.c (shortcuts_append_home): Use "Home"
rather than "Username's Home" (#125964).
(shortcuts_selection_changed_cb): New callback, check the
sensitivity of the Remove Bookmark button at the right time.
(shortcuts_row_activated_cb): It is not necessary to check the
sensitivity here.

22 years agoImprove the GDK API for dealing with group leaders (#119375):
Matthias Clasen [Tue, 9 Dec 2003 23:12:53 +0000 (23:12 +0000)]
Improve the GDK API for dealing with group leaders (#119375):

Wed Dec 10 00:06:24 2003  Matthias Clasen  <maclas@gmx.de>

Improve the GDK API for dealing with group leaders (#119375):

* gdk/gdkwindow.h:
* gdk/x11/gdkwindow-x11.c (gdk_window_get_group): New function to
get the group leader of a toplevel window as a GdkWindow.

* gdk/gdkdisplay.h:
* gdk/x11/gdkdisplay-x11.c (gdk_display_get_default_group): New
function to get the default group leader as a GdkWindow.

* gdk/x11/gdkdisplay-x11.h (struct _GdkDisplayX11): Add a field for
the GdkWindow of the default group leader.

* gdk/x11/gdkdisplay-x11.c (gdk_display_open): Construct the GdkWindow
for the default group leader.

22 years agoAdd keysyms Ukrainian_ghe_with_upturn, Ukrainian_GHE_WITH_UPTURN.
Noah Levitt [Tue, 9 Dec 2003 22:04:01 +0000 (22:04 +0000)]
Add keysyms Ukrainian_ghe_with_upturn, Ukrainian_GHE_WITH_UPTURN.

2003-12-09  Noah Levitt  <nlevitt@columbia.edu>

* gdk/gdkkeysyms.h:
* gdk/gdkkeyuni.c: Add keysyms Ukrainian_ghe_with_upturn,
Ukrainian_GHE_WITH_UPTURN. (#128529)

22 years agofix utf-8 brokenness - apologies.
Michael Meeks [Tue, 9 Dec 2003 11:45:33 +0000 (11:45 +0000)]
fix utf-8 brokenness - apologies.

22 years agoUse the behavior of the GtkFileSelection to determine selected paths in
Jan Arne Petersen [Mon, 8 Dec 2003 23:38:57 +0000 (23:38 +0000)]
Use the behavior of the GtkFileSelection to determine selected paths in

2003-12-08  Jan Arne Petersen  <jpetersen@uni-bonn.de>

* gtk/gtkfilechooserdefault.c:
(gtk_file_chooser_default_get_paths), (entry_activate): Use the
behavior of the GtkFileSelection to determine selected paths in
single selected, GTK_FILE_CHOOSER_ACTION_SAVE mode.

2003-12-08  Federico Mena Quintero  <federico@ximian.com>

* gtk/gtkfilechooserdefault.c
(gtk_file_chooser_default_get_paths): Don't declare the closure
struct twice.
(get_paths_foreach): Likewise.

22 years agoRecommitting changes that were moved aside to tag GTK_2_3_1
Federico Mena Quintero [Mon, 8 Dec 2003 23:22:24 +0000 (23:22 +0000)]
Recommitting changes that were moved aside to tag GTK_2_3_1

2003-12-08  Federico Mena Quintero  <federico@ximian.com>

        * gtk/migrating-GtkAction.sgml: New chapter about how to migrate
        from gnome-ui/bonobo-ui/etc. to GtkAction.

        * gtk/gtk-docs.sgml: Integrated the above.

        * gtk/Makefile.am (content_files): Added migrating-GtkAction.sgml.

22 years agos/Unix/Win32/g.
Matthias Clasen [Mon, 8 Dec 2003 23:13:14 +0000 (23:13 +0000)]
s/Unix/Win32/g.

Tue Dec  9 00:12:36 2003  Matthias Clasen  <maclas@gmx.de>

* gtk/gtkfilesystemwin32.[hc]: s/Unix/Win32/g.

22 years agoAdd xdgmime directory, gtkfilesystemwin32.
Owen Taylor [Mon, 8 Dec 2003 22:56:52 +0000 (22:56 +0000)]
Add xdgmime directory, gtkfilesystemwin32.

Mon Dec  8 12:47:01 2003  Owen Taylor  <otaylor@redhat.com>

        * gtk/Makefile.am (IGNORE_HFILES): Add xdgmime directory,
        gtkfilesystemwin32.

        * gtk/gtk-sections.txt: Some updates.

22 years ago=== Released 2.3.1 ===
Owen Taylor [Mon, 8 Dec 2003 22:55:03 +0000 (22:55 +0000)]
=== Released 2.3.1 ===

Mon Dec  8 10:54:44 2003  Owen Taylor  <otaylor@redhat.com>

        * === Released 2.3.1 ===

        * NEWS: Updates for 2.3.1

        * configure.in: Version 2.3.1, interface age 0, binary age 301.

        * gtk/gtkmenuitem.c (gtk_menu_item_can_activate_accel):
        Rename from gtk_menu_item_real_can_activate_accel() to
        match GTK+ convention, improve comment.

        * gtk/gtkwidget.c: Document gtk_widget_can_activate_accel(),
        can ::can-activate-accel signal.

        * gtk/gtkwidget.c (closure_accel_activate): Fix spelling
        in comment.

        * gtk/gtkmenu.c (gtk_menu_real_can_activate_accel): Clean
        up comment.

        * gtk/gtkcellview{,menuitem}.[ch]: Move GET_PRIVATE() macros
        into the .c file.

Mon Dec  8 12:09:21 2003  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkicontheme.c (find_builtin_icon): Fix a
        missing 'else'. (#128816, Jorn Baayen)

22 years agoUse <multimon.h> when compiling with MSVC and old headers. (#126933, John
Tor Lillqvist [Mon, 8 Dec 2003 22:43:51 +0000 (22:43 +0000)]
Use <multimon.h> when compiling with MSVC and old headers. (#126933, John

2003-12-08  Tor Lillqvist  <tml@iki.fi>

* gdk/win32/gdkdisplay-win32.c: Use <multimon.h> when compiling
with MSVC and old headers. (#126933, John Ehresman)

22 years ago=== Released 2.3.1 ===
Owen Taylor [Mon, 8 Dec 2003 22:31:32 +0000 (22:31 +0000)]
=== Released 2.3.1 ===

Mon Dec  8 10:54:44 2003  Owen Taylor  <otaylor@redhat.com>

        * === Released 2.3.1 ===

        * NEWS: Updates for 2.3.1

        * configure.in: Version 2.3.1, interface age 0, binary age 301.

        * gtk/gtkmenuitem.c (gtk_menu_item_can_activate_accel):
        Rename from gtk_menu_item_real_can_activate_accel() to
        match GTK+ convention, improve comment.

        * gtk/gtkwidget.c: Document gtk_widget_can_activate_accel(),
        can ::can-activate-accel signal.

        * gtk/gtkwidget.c (closure_accel_activate): Fix spelling
        in comment.

        * gtk/gtkmenu.c (gtk_menu_real_can_activate_accel): Clean
        up comment.

        * gtk/gtkcellview{,menuitem}.[ch]: Move GET_PRIVATE() macros
        into the .c file.

Mon Dec  8 12:09:21 2003  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkicontheme.c (find_builtin_icon): Fix a
        missing 'else'. (#128816, Jorn Baayen)

22 years agoNew chapter about how to migrate from gnome-ui/bonobo-ui/etc. to
Federico Mena Quintero [Mon, 8 Dec 2003 22:28:27 +0000 (22:28 +0000)]
New chapter about how to migrate from gnome-ui/bonobo-ui/etc. to

2003-12-08  Federico Mena Quintero  <federico@ximian.com>

* gtk/migrating-GtkAction.sgml: New chapter about how to migrate
from gnome-ui/bonobo-ui/etc. to GtkAction.

* gtk/gtk-docs.sgml: Integrated the above.

* gtk/Makefile.am (content_files): Added migrating-GtkAction.sgml.

22 years agoActually commit RTL flipping changes for GtkNotebook which I already
Matthias Clasen [Mon, 8 Dec 2003 21:07:17 +0000 (21:07 +0000)]
Actually commit RTL flipping changes for GtkNotebook which I already
ChangeLogged on Friday.

22 years agoBased on a patch by Martin Kretzschmar; #122448
Michael Meeks [Mon, 8 Dec 2003 17:13:13 +0000 (17:13 +0000)]
Based on a patch by Martin Kretzschmar; #122448

2003-12-02  Michael Meeks  <michael@ximian.com>

Based on a patch by Martin Kretzschmar; #122448

* gdk/gdk.h: new gdk_threads_lock, gdk_threads_unlock, point to
implementation of GDK_THREADS_ENTER / GDK_THREADS_LEAVE.
(GDK_THREADS_ENTER, GDK_THREADS_LEAVE): use gdk_threads_[un]lock
function pointers. Deprecate the global gdk_threads_mutex variable.

* gdk/gdk.c (gdk_threads_impl_lock, gdk_threads_impl_unlock): new,
extracted from GTK_THREADS_ENTER/LEAVE macros.
(gdk_threads_init): init gtk_threads_[un]lock if not set.
(gdk_threads_set_lock_functions): impl.

* gdk/gdkglobals.c: add definitions of gdk_threads_[un]lock.

22 years agofix comment typo
Tim Janik [Mon, 8 Dec 2003 16:02:25 +0000 (16:02 +0000)]
fix comment typo

22 years agoUpdate Czech translation
Miloslav Trmac [Mon, 8 Dec 2003 12:14:11 +0000 (12:14 +0000)]
Update Czech translation

22 years agoAdded Thai (th) translation.
Paisa Seeluangsawat [Sun, 7 Dec 2003 22:57:54 +0000 (22:57 +0000)]
Added Thai (th) translation.

2003-12-07  Paisa Seeluangsawat  <paisa@users.sf.net>

        * th.po: Added Thai (th) translation.

22 years agoDon't crash if icon_theme_builtin_icons hasn't been initialized. (#128726,
Matthias Clasen [Sun, 7 Dec 2003 22:53:22 +0000 (22:53 +0000)]
Don't crash if icon_theme_builtin_icons hasn't been initialized. (#128726,

Sun Dec  7 23:45:40 2003  Matthias Clasen  <maclas@gmx.de>

* gtk/gtkicontheme.c (gtk_icon_theme_has_icon): Don't crash if
icon_theme_builtin_icons hasn't been initialized.  (#128726, Diego
Gonzalez)

22 years agoUpdated and revised Portuguese translation.
Duarte Loreto [Sun, 7 Dec 2003 15:35:34 +0000 (15:35 +0000)]
Updated and revised Portuguese translation.

2003-12-07  Duarte Loreto <happyguy_pt@hotmail.com>

* pt.po: Updated and revised Portuguese translation.

22 years agoDon't use the return value from SendMessage(WM_SETICON). That is the old
Tor Lillqvist [Sun, 7 Dec 2003 11:03:08 +0000 (11:03 +0000)]
Don't use the return value from SendMessage(WM_SETICON). That is the old

2003-12-07  Tor Lillqvist  <tml@iki.fi>

* gdk/win32/gdkwindow-win32.c (gdk_window_set_icon): Don't use the
return value from SendMessage(WM_SETICON). That is the old
icon. Fixes GDI resource leak. (#128559, Tim Evans)

22 years agoIf we already have a pointer grab active with a grab cursor set, destroy
Tor Lillqvist [Sun, 7 Dec 2003 06:56:30 +0000 (06:56 +0000)]
If we already have a pointer grab active with a grab cursor set, destroy

2003-12-07  Tor Lillqvist  <tml@iki.fi>

* gdk/win32/gdkevents-win32.c (gdk_pointer_grab): If we already
have a pointer grab active with a grab cursor set, destroy that
cursor to avoid a GDI resource leak. (#128410, Tim Evans)

22 years agoAdded Thai (th) translation. Added Thai (th) to ALL_LINGUAS.
Paisa Seeluangsawat [Sat, 6 Dec 2003 03:13:24 +0000 (03:13 +0000)]
Added Thai (th) translation. Added Thai (th) to ALL_LINGUAS.

2003-12-05  Paisa Seeluangsawat  <paisa@users.sf.net>

        * th.po: Added Thai (th) translation.
        * configure.in: Added Thai (th) to ALL_LINGUAS.

22 years agoImplement RTL flipping for GtkAlignment. (#127585)
Matthias Clasen [Sat, 6 Dec 2003 00:41:38 +0000 (00:41 +0000)]
Implement RTL flipping for GtkAlignment. (#127585)

Sat Dec  6 01:42:04 2003  Matthias Clasen  <maclas@gmx.de>

* gtk/gtkalignment.c (gtk_alignment_size_allocate): Implement
RTL flipping for GtkAlignment.  (#127585)

22 years agoFix the position of the popup window when in RTL mode. (#127578)
Matthias Clasen [Sat, 6 Dec 2003 00:12:46 +0000 (00:12 +0000)]
Fix the position of the popup window when in RTL mode. (#127578)

Sat Dec  6 01:13:09 2003  Matthias Clasen  <maclas@gmx.de>

* gtk/gtkcombo.c (gtk_combo_get_pos): Fix the position of the
popup window when in RTL mode.  (#127578)

22 years agoApplied patch from Ross McFarland <rwmcfa1@neces.com>, initialize *count_p
Manish Singh [Fri, 5 Dec 2003 23:33:59 +0000 (23:33 +0000)]
Applied patch from Ross McFarland <rwmcfa1@neces.com>, initialize *count_p

Fri Dec  5 15:30:16 2003  Manish Singh  <yosh@gimp.org>

        * gtk/gtkaccelgroup.c (quick_accel_find): Applied patch from
        Ross McFarland <rwmcfa1@neces.com>, initialize *count_p to 0
        before doing anything to prevent garbage returns.

22 years agoImplement RTL flipping for GtkViewport: Adjust the "gravity" when resizing
Matthias Clasen [Fri, 5 Dec 2003 23:31:51 +0000 (23:31 +0000)]
Implement RTL flipping for GtkViewport: Adjust the "gravity" when resizing

Sat Dec  6 00:23:46 2003  Matthias Clasen  <maclas@gmx.de>

* gtk/gtkviewport.c: Implement RTL flipping for
GtkViewport: Adjust the "gravity" when resizing
This is a bit flickery in RTL mode.  (#107526)

Sat Dec  6 00:22:14 2003  Matthias Clasen  <maclas@gmx.de>

* gtk/gtkscrolledwindow.c: Implement RTL flipping for
GtkScrolledWindow: the vertical scrollbar shows up on the left
side in RTL mode.  (#107526)

22 years agoUpdated German translation.
Christian Neumair [Fri, 5 Dec 2003 14:42:50 +0000 (14:42 +0000)]
Updated German translation.

22 years agoAllow gtk_label_set_attributes() take NULL. See bug #128517.
Mark McLoughlin [Thu, 4 Dec 2003 18:17:23 +0000 (18:17 +0000)]
Allow gtk_label_set_attributes() take NULL. See bug #128517.

2003-12-04  Mark McLoughlin  <mark@skynet.ie>

        * gtk/gtklabel.c: (gtk_label_set_attributes_internal): Allow
        gtk_label_set_attributes() take NULL. See bug #128517.

22 years agoDutch translation updated by Tino Meinen.
Vincent van Adrighem [Thu, 4 Dec 2003 15:34:22 +0000 (15:34 +0000)]
Dutch translation updated by Tino Meinen.

2003-12-04   Vincent van Adrighem  <adrighem@gnome.org>

* nl.po: Dutch translation updated by Tino Meinen.

22 years agoRemoved the in_change flag. (completion_idle_callback): Use a temporary
Federico Mena Quintero [Thu, 4 Dec 2003 02:13:27 +0000 (02:13 +0000)]
Removed the in_change flag. (completion_idle_callback): Use a temporary

2003-12-03  Federico Mena Quintero  <federico@ximian.com>

* gtk/gtkfilechooserentry.c (struct _GtkFileChooserEntry): Removed
the in_change flag.
(completion_idle_callback): Use a temporary list store and re-set
it on the completion rather than modifying the old one.  We are
re-reading the folder anyway, and this gets rid of non-atomicity
problems.

22 years agoUpdate Czech translation
Miloslav Trmac [Wed, 3 Dec 2003 19:14:54 +0000 (19:14 +0000)]
Update Czech translation

22 years agoDutch translation updated by Tino Meinen.
Vincent van Adrighem [Wed, 3 Dec 2003 17:43:06 +0000 (17:43 +0000)]
Dutch translation updated by Tino Meinen.

2003-12-03   Vincent van Adrighem  <adrighem@gnome.org>

* nl.po: Dutch translation updated by Tino Meinen.

22 years agoUpdated Mongolian translation
Sanlig Badral [Wed, 3 Dec 2003 09:55:20 +0000 (09:55 +0000)]
Updated Mongolian translation

22 years agoUpdated Serbian translation.
Danilo Šegan [Wed, 3 Dec 2003 03:17:25 +0000 (03:17 +0000)]
Updated Serbian translation.

2003-12-03  Danilo Šegan  <dsegan@gmx.net>

* sr.po, sr@Latn.po: Updated Serbian translation.

* POTFILES.in: Added gtk/gtkfilesystemwin32.c.

22 years agoUpdated Norwegian Nynorsk translation.
Åsmund Skjæveland [Tue, 2 Dec 2003 08:54:18 +0000 (08:54 +0000)]
Updated Norwegian Nynorsk translation.

2003-12-02  Åsmund Skjæveland  <aasmunds@fys.uio.no>

* nn.po: Updated Norwegian Nynorsk translation.

22 years agoDecouple impl->current_folder from the selection in the folder tree. This
Federico Mena Quintero [Tue, 2 Dec 2003 04:23:06 +0000 (04:23 +0000)]
Decouple impl->current_folder from the selection in the folder tree. This

2003-12-01  Federico Mena Quintero  <federico@ximian.com>

Decouple impl->current_folder from the selection in the folder
tree.  This is so that going to /home/federico/.foo (e.g. from a
bookmark) will work even if show_hidden == FALSE.  The folder tree
needs to be fixed in this case to show such folders explicitly.

* gtk/gtkfilechooserdefault.c
(gtk_file_chooser_default_set_current_folder): When changing
folders, do the entry and list model work here, instead of
tree_selection_changed().
(struct _GtkFileChooserDefault): Added a changing_folder flag
again, dum de dum.
(tree_selection_changed): Use _gtk_file_chooser_set_current_folder_path().

22 years agoRemove duplicate declaration of gtk_icon_source_set_icon_name(). (#Jeff
Matthias Clasen [Tue, 2 Dec 2003 00:18:43 +0000 (00:18 +0000)]
Remove duplicate declaration of gtk_icon_source_set_icon_name(). (#Jeff

Tue Dec  2 01:01:54 2003  Matthias Clasen  <maclas@gmx.de>

* gtk/gtkiconfactory.h: Remove duplicate declaration of
gtk_icon_source_set_icon_name().  (#Jeff Franks, #128269)

22 years agoDutch translation updated by Tino Meinen.
Vincent van Adrighem [Mon, 1 Dec 2003 22:44:08 +0000 (22:44 +0000)]
Dutch translation updated by Tino Meinen.

2003-12-01   Vincent van Adrighem  <adrighem@gnome.org>

* nl.po: Dutch translation updated by Tino Meinen.

22 years agoPatch from Hans-Petter Jansson <hpj@ximian.com> to align the bookmarks
Federico Mena Quintero [Mon, 1 Dec 2003 18:57:17 +0000 (18:57 +0000)]
Patch from Hans-Petter Jansson <hpj@ximian.com> to align the bookmarks

2003-12-01  Federico Mena Quintero  <federico@ximian.com>

Patch from Hans-Petter Jansson <hpj@ximian.com> to align the
bookmarks buttons with the location entry.

* gtk/gtkfilechooserdefault.c
(gtk_file_chooser_default_constructor): Use a GtkSizeGroup for the
bookmarks buttons and the location entry.

22 years agofix expander's +/- part coloration
cinamod [Mon, 1 Dec 2003 18:56:34 +0000 (18:56 +0000)]
fix expander's +/- part coloration

22 years agoSet the shortcuts tree as a drag destination.
Federico Mena Quintero [Mon, 1 Dec 2003 15:33:37 +0000 (15:33 +0000)]
Set the shortcuts tree as a drag destination.

2003-12-01  Federico Mena Quintero  <federico@ximian.com>

* gtk/gtkfilechooserdefault.c (create_shortcuts_tree): Set the
shortcuts tree as a drag destination.
(shortcuts_drag_data_received_cb): New callback.
(get_file_info): Also fetch information on whether the file is a folder.
(add_bookmark_button_clicked_cb): Use error_could_not_add_bookmark_dialog().
(error_could_not_add_bookmark_dialog): New function.
(shortcuts_add_bookmark_from_path): New helper function.
(add_bookmark_button_clicked_cb): Use shortcuts_add_bookmark_from_path().
(shortcuts_row_activated): We no longer need the changing_folder flag.
(struct _GtkFileChooserDefault): Likewise.

22 years agoreturn TRUE if there are disappearing placeholders that are still visible.
Soeren Sandmann [Sun, 30 Nov 2003 16:37:38 +0000 (16:37 +0000)]
return TRUE if there are disappearing placeholders that are still visible.

Sun Nov 30 17:31:32 2003  Soeren Sandmann  <sandmann@daimi.au.dk>

* gtk/gtktoolbar.c (slide_idle_handler): return TRUE if there are
disappearing placeholders that are still visible.

* gtk/gtktoolbar.c: formatting fixes

* gtk/gtktoolbar.c (struct _ToolbarContent): new bit:
disappearing, for placeholders that are going to disappear.

* gtk/gtktoolbar.c (get_item_size): return 0 for disappearing placeholders

22 years agoPatch from <chinen@jp.ibm.com> to handle RTL support for column resizers,
Jonathan Blandford [Sat, 29 Nov 2003 06:16:11 +0000 (06:16 +0000)]
Patch from <chinen@jp.ibm.com> to handle RTL support for column resizers,

Sat Nov 29 00:55:28 2003  Jonathan Blandford  <jrb@gnome.org>

* gtk/gtktreeview.c (gtk_tree_view_new_column_width):
* gtk/gtktreeviewcolumn.c (_gtk_tree_view_column_realize_button):
Patch from <chinen@jp.ibm.com> to handle RTL support for column
resizers, #127874

22 years agoDon't use freed memory. (#127698, Taavi Talvik)
Matthias Clasen [Thu, 27 Nov 2003 23:27:40 +0000 (23:27 +0000)]
Don't use freed memory. (#127698, Taavi Talvik)

Fri Nov 28 00:26:24 2003  Matthias Clasen  <maclas@gmx.de>

* gtk/gtkfilesystemmodel.c (gtk_file_system_model_finalize):
Don't use freed memory.  (#127698, Taavi Talvik)

22 years agoRemove debug g_print()s.
Matthias Clasen [Thu, 27 Nov 2003 23:08:51 +0000 (23:08 +0000)]
Remove debug g_print()s.

Fri Nov 28 00:09:10 2003  Matthias Clasen  <maclas@gmx.de>

* gtk/gtkfilechooserentry.c: Remove debug g_print()s.

22 years agoRemove debug define.
Matthias Clasen [Thu, 27 Nov 2003 21:17:41 +0000 (21:17 +0000)]
Remove debug define.

Thu Nov 27 22:17:50 2003  Matthias Clasen  <maclas@gmx.de>

* gtk/gtkuimanager.c: Remove debug define.

22 years agoallow accel activation depending on sensitivity and the attach widget.
Tim Janik [Thu, 27 Nov 2003 15:51:32 +0000 (15:51 +0000)]
allow accel activation depending on sensitivity and the attach widget.

Thu Nov 27 16:19:03 2003  Tim Janik  <timj@gtk.org>

        * gtk/gtkmenu.c: allow accel activation depending on sensitivity
        and the attach widget.

        * gtk/gtkmenuitem.c: allow accel activation depending on visibility,
        sensitivity and the parent menu.

        * gtk/gtkwidget.[hc]: introduced ::can-activate-accel signal which
        checks whether accelerators may activate a widget. the default handler
        demands the widget be sensitive and visible+viewable.

        * gtk/gtkaccelgroup.[hc]: export gtk_accel_group_activate().

22 years agofix coloration in several gimp widgets
cinamod [Wed, 26 Nov 2003 18:03:14 +0000 (18:03 +0000)]
fix coloration in several gimp widgets

22 years agoUpdate Czech translation
Miloslav Trmac [Tue, 25 Nov 2003 15:41:36 +0000 (15:41 +0000)]
Update Czech translation

22 years agoDon't show accelerators in popup menus. (#127227)
Matthias Clasen [Mon, 24 Nov 2003 23:24:40 +0000 (23:24 +0000)]
Don't show accelerators in popup menus. (#127227)

Tue Nov 25 00:10:05 2003  Matthias Clasen  <maclas@gmx.de>

* gtk/gtkuimanager.c (update_node): Don't show accelerators in
popup menus.  (#127227)

22 years agofix menu bar bgs
cinamod [Mon, 24 Nov 2003 15:05:48 +0000 (15:05 +0000)]
fix menu bar bgs

22 years agostart 2.x Section 4 updates
GMT 2003 Tony Gale [Mon, 24 Nov 2003 13:49:16 +0000 (13:49 +0000)]
start 2.x Section 4 updates

Mon Nov 24 13:47:39 GMT 2003  Tony Gale <gale@gtk.org>

        * docs/faq/gtk-faq.sgml: start 2.x Section 4 updates

22 years agoMake this function take a GtkRadioToolButton instead of a GtkWidget.
Soeren Sandmann [Mon, 24 Nov 2003 03:09:32 +0000 (03:09 +0000)]
Make this function take a GtkRadioToolButton instead of a GtkWidget.

Mon Nov 24 04:05:15 2003  Soeren Sandmann  <sandmann@daimi.au.dk>

* gtk/gtkradiotoolbutton.[ch]
(gtk_radio_tool_button_new_from_widget): Make this function take a
GtkRadioToolButton instead of a GtkWidget. (#127729, Murray
Cumming)

22 years agoremove variables in_dnd and leaving_dnd
Soeren Sandmann [Mon, 24 Nov 2003 01:38:52 +0000 (01:38 +0000)]
remove variables in_dnd and leaving_dnd

Mon Nov 24 02:34:00 2003  Soeren Sandmann  <sandmann@daimi.au.dk>

* gtk/gtktoolbar.c: remove variables in_dnd and leaving_dnd

22 years agoremove variable n_overflowed_menu_items_when_dnd_started
Soeren Sandmann [Mon, 24 Nov 2003 01:23:04 +0000 (01:23 +0000)]
remove variable n_overflowed_menu_items_when_dnd_started

Mon Nov 24 02:19:33 2003  Soeren Sandmann  <sandmann@daimi.au.dk>

* gtk/gtktoolbar.c: remove variable
n_overflowed_menu_items_when_dnd_started

22 years agoRework sliding algorithm. - No more weird jumping when items are dragged
Soeren Sandmann [Mon, 24 Nov 2003 01:01:43 +0000 (01:01 +0000)]
Rework sliding algorithm. - No more weird jumping when items are dragged

Mon Nov 24 01:47:10 2003  Soeren Sandmann  <sandmann@daimi.au.dk>

Rework sliding algorithm.
- No more weird jumping when items are dragged off and added to
the toolbar,
- More natural item movement

* gtk/gtktoolbar.c (gtk_toolbar_size_allocate): Many changes. This
function is now responsible for calculating intermediate positions
during item sliding. It is also responsible for starting sliding
if items disappear.  Also turn off expanding when there is an
overflow menu.
(gtk_toolbar_begin_sliding, stop_sliding): New functions.
(slide_idle_handler): New function. All the sliding is now done by
gtk_toolbar_size_allocate(), so the idle handler now just checks
if there is more sliding to be done.
(compute_intermediate_allocation, position): new functions
calculating intermediate steps in the slide animations. The new
animation algorithm uses a constant speed instead of a constant
must-be-finished-within time.
(struct _ToolbarContent): use
GtkAllocation goal_allocation; and
GtkAllocation start_allocation; instead of
gint start/goal_width;

* gtk/gtktoolitem.c (gtk_tool_item_set_tooltip): fix typo in
documentation

22 years agoMake tooltip positioning Xinerama-aware. (#127332)
Matthias Clasen [Sun, 23 Nov 2003 21:27:50 +0000 (21:27 +0000)]
Make tooltip positioning Xinerama-aware. (#127332)

Sun Nov 23 22:26:25 2003  Matthias Clasen  <maclas@gmx.de>

* gtk/gtktooltips.c (gtk_tooltips_draw_tips): Make tooltip
positioning Xinerama-aware.  (#127332)

22 years agoAdd a missing comma.
Matthias Clasen [Sun, 23 Nov 2003 20:00:25 +0000 (20:00 +0000)]
Add a missing comma.

Sun Nov 23 21:00:33 2003  Matthias Clasen  <maclas@gmx.de>

* gtk/tree_widget.sgml: Add a missing comma.

22 years agoUpdated the Greek translation
Kostas Papadimas [Sat, 22 Nov 2003 12:33:58 +0000 (12:33 +0000)]
Updated the Greek translation

22 years agoMake monitor boundaries visible in fake Xinerama mode.
Matthias Clasen [Fri, 21 Nov 2003 01:02:45 +0000 (01:02 +0000)]
Make monitor boundaries visible in fake Xinerama mode.

Fri Nov 21 01:57:21 2003  Matthias Clasen  <maclas@gmx.de>

* gdk/x11/gdkscreen-x11.c (init_xinerama_support): Make monitor
boundaries visible in fake Xinerama mode.

22 years agocast to GTK_WIDGET() for the gtk_widget_hide() call.
Manish Singh [Thu, 20 Nov 2003 23:42:08 +0000 (23:42 +0000)]
cast to GTK_WIDGET() for the gtk_widget_hide() call.

Thu Nov 20 15:41:56 2003  Manish Singh  <yosh@gimp.org>

        * gtk/gtkmenu.c (gtk_menu_set_tearoff_state): cast to GTK_WIDGET()
        for the gtk_widget_hide() call.

22 years agoRemove leftover documentation of the filter functionality that got removed
Matthias Clasen [Thu, 20 Nov 2003 23:10:05 +0000 (23:10 +0000)]
Remove leftover documentation of the filter functionality that got removed

Fri Nov 21 00:09:36 2003  Matthias Clasen  <maclas@gmx.de>

* gtk/tmpl/gtkfontsel.sgml:
* gtk/tmpl/gtkfontseldlg.sgml: Remove leftover documentation of
the filter functionality that got removed long ago.

22 years agoAnother update.
Danilo Šegan [Thu, 20 Nov 2003 22:33:33 +0000 (22:33 +0000)]
Another update.

2003-11-20  Danilo Šegan  <dsegan@gmx.net>

* sr.po, sr@Latn.po: Another update.

22 years agoUpdated Serbian translation.
Danilo Šegan [Thu, 20 Nov 2003 22:28:13 +0000 (22:28 +0000)]
Updated Serbian translation.

2003-11-20  Danilo Šegan  <dsegan@gmx.net>

* sr.po, sr@Latn.po: Updated Serbian translation.

22 years agoPatch from David Hampton to fix sorting on booleans.
Jonathan Blandford [Thu, 20 Nov 2003 20:14:22 +0000 (20:14 +0000)]
Patch from David Hampton to fix sorting on booleans.

Thu Nov 20 14:51:41 2003  Jonathan Blandford  <jrb@redhat.com>

        * gtk/gtktreedatalist.c (gtk_tree_data_list_compare_func): Patch
        from David Hampton to fix sorting on booleans.

22 years agoUse gtk_widget_is_focus() instead of GTK_WIDGET_HAS_FOCUS. (#122327, Owen
Soeren Sandmann [Thu, 20 Nov 2003 15:03:27 +0000 (15:03 +0000)]
Use gtk_widget_is_focus() instead of GTK_WIDGET_HAS_FOCUS. (#122327, Owen

Thu Nov 20 15:48:03 2003  Soeren Sandmann  <sandmann@daimi.au.dk>

* gtk/gtksocket.c (gtk_socket_focus): Use gtk_widget_is_focus()
instead of GTK_WIDGET_HAS_FOCUS. (#122327, Owen Taylor. Reported
by Frederic Crozat).

22 years agoUpdate Section 3 to 2.x
GMT 2003 Tony Gale [Thu, 20 Nov 2003 13:11:41 +0000 (13:11 +0000)]
Update Section 3 to 2.x

Thu Nov 20 13:10:29 GMT 2003  Tony Gale <gale@gtk.org>

        * docs/faq/gtk-faq.sgml: Update Section 3 to 2.x

22 years agoFixes to problems reported by Iain Holmes:
Federico Mena Quintero [Wed, 19 Nov 2003 22:38:31 +0000 (22:38 +0000)]
Fixes to problems reported by Iain Holmes:

2003-11-19  Federico Mena Quintero  <federico@ximian.com>

Fixes to problems reported by Iain Holmes:

* gtk/gtkfilechooserdefault.c (shortcuts_append_desktop): Do not
throw up an error dialog if the desktop doesn't exist.
(error_message): Handle the case where there is no real toplevel
yet.
(list_model_filter_func): Always let folders pass through (patch
by Dave Malcolm).

22 years ago0.5.2
Raymond Penners [Wed, 19 Nov 2003 22:26:45 +0000 (22:26 +0000)]
0.5.2

22 years agomove function to a somewhat more logical place,
Kristian Rietveld [Wed, 19 Nov 2003 22:26:42 +0000 (22:26 +0000)]
move function to a somewhat more logical place,

Wed Nov 19 23:19:23 2003  Kristian Rietveld  <kris@gtk.org>

* gtk/gtkcombobox.[ch] (gtk_combo_box_scroll_event): move function
to a somewhat more logical place,
(gtk_combo_box_remove_text): New function (#125262, Owen Taylor).

22 years agoalways resize the popup when it is visible, popdown when there are less
Kristian Rietveld [Wed, 19 Nov 2003 21:26:27 +0000 (21:26 +0000)]
always resize the popup when it is visible, popdown when there are less

Wed Nov 19 22:15:01 2003  Kristian Rietveld  <kris@gtk.org>

* gtk/gtkentry.c (gtk_entry_completion_timeout): always resize
the popup when it is visible, popdown when there are less chars
than the minimum key length in the entry,
(gtk_entry_completion_changed): popdown when the entry is empty.

* gtk/gtkentrycompletion.c (gtk_entry_completion_init): set the
size request of the vscrollbar to (-1, 0), to get a nicely sized
completion treeview (Fixes #126573, reported by Piers Cornwell),
(_gtk_entry_completion_resize_popup): show/hide the action_view
based on items.

22 years agoTurn off the dialog's separator (thanks to Iain Holmes).
Federico Mena Quintero [Wed, 19 Nov 2003 20:45:17 +0000 (20:45 +0000)]
Turn off the dialog's separator (thanks to Iain Holmes).

2003-11-19  Federico Mena Quintero  <federico@ximian.com>

* gtk/gtkfilechooserdialog.c (gtk_file_chooser_dialog_init): Turn
off the dialog's separator (thanks to Iain Holmes).

22 years agoUpdate Czech translation
Miloslav Trmac [Wed, 19 Nov 2003 20:31:32 +0000 (20:31 +0000)]
Update Czech translation